#pragma once
/***********************************************************************************************
COPYRIGHT 2011 Mafahir Fairoze

This file is part of Neural++.
(Project Website : http://mafahir.wordpress.com/projects/neuralplusplus)

Neural++ is a free software. You can redistribute it and/or modify it under the terms of
the GNU General Public License as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

Neural++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License <http://www.gnu.org/licenses/> for more details.

***********************************************************************************************/

namespace NeuralPlusPlus
	{
	namespace Core        
		{
		/// <summary>
		/// This class represents a training sample used to train a neural network
		/// </summary>    
		class TrainingSample 
			{
			public: double* InputVector;
			public: int InputVectorLength;
			public: double* OutputVector;
			public: int OutputVectorLength;
			public: double* NormalizedInputVector;
			public: int NormalizedInputVectorLength;
			public: double* NormalizedOutputVector;
			public: int NormalizedOutputVectorLength;

					/// <summary>
					/// Creates a new training sample. The arguments are cloned into the training sample. So
					/// any modifications to the arguments will NOT be reflected in the training sample.
					/// </summary>
			public: TrainingSample( double* inputVector, int inputVectorLength, double* outputVector , int outputVectorLength);

					/// <summary>
					/// Deallocates the memory.
					/// </summary>
			public: ~TrainingSample();
			};
		}

	}